@zonos/elements 1.3.157 → 1.3.158

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (221) hide show
  1. package/dist/cjs/{cart-79deb872.js → cart-c6b42ee3.js} +284 -4
  2. package/dist/cjs/{getBorderRadius-d3032bda.js → getBorderRadius-c4fed939.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{isDarkColor-9f6c3601.js → isDarkColor-cd98fcb7.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/{paypal-e79ca280.js → paypal-bc98bcd3.js} +3 -3
  7. package/dist/cjs/zonos-address_8.cjs.entry.js +4 -4
  8. package/dist/cjs/zonos-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-banner.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-button_3.cjs.entry.js +9 -7
  11. package/dist/cjs/zonos-card.cjs.entry.js +2 -2
  12. package/dist/cjs/zonos-cart-items_13.cjs.entry.js +33 -15
  13. package/dist/cjs/zonos-checkout.cjs.entry.js +56 -6
  14. package/dist/cjs/zonos-collapse.cjs.entry.js +1 -1
  15. package/dist/cjs/zonos-controller.cjs.entry.js +12 -7
  16. package/dist/cjs/zonos-country-flag.cjs.entry.js +4 -4
  17. package/dist/cjs/zonos-country-select_4.cjs.entry.js +4 -4
  18. package/dist/cjs/zonos-elements.cjs.js +1 -1
  19. package/dist/cjs/zonos-empty-state-payment_4.cjs.entry.js +5 -5
  20. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +4 -4
  21. package/dist/cjs/zonos-hello.cjs.entry.js +4 -4
  22. package/dist/cjs/zonos-input.cjs.entry.js +2 -2
  23. package/dist/cjs/zonos-language-select_2.cjs.entry.js +4 -4
  24. package/dist/cjs/zonos-logo.cjs.entry.js +1 -1
  25. package/dist/cjs/zonos-shipping-rich-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/zonos-text.cjs.entry.js +1 -1
  27. package/dist/cjs/zonos-toggle.cjs.entry.js +1 -1
  28. package/dist/cjs/zonos-v-stack.cjs.entry.js +1 -1
  29. package/dist/cjs/{zonosStore-0b1d27df.js → zonosStore-188d96be.js} +1 -0
  30. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.css +3 -3
  31. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout-payment/zonos-checkout-payment.js +24 -5
  32. package/dist/collection/components/checkout/zonos-checkout/zonos-checkout.js +54 -2
  33. package/dist/collection/components/checkout/zonos-checkout/zonos-customer-info/zonos-customer-info.js +1 -1
  34. package/dist/collection/components/checkout/zonos-checkout/zonos-shipping/zonos-shipping.js +1 -1
  35. package/dist/collection/components/common/zonos-button/zonos-button.css +3 -9
  36. package/dist/collection/components/common/zonos-button/zonos-button.js +25 -3
  37. package/dist/collection/components/common/zonos-confirm-dialog/zonos-confirm-dialog.js +2 -2
  38. package/dist/collection/components/main/zonos-controller.js +8 -3
  39. package/dist/collection/components/store/checkout/cart.js +10 -1
  40. package/dist/collection/components/store/checkout/stripe.js +32 -1
  41. package/dist/collection/components/store/translationStore/strings.arabic.js +12 -0
  42. package/dist/collection/components/store/translationStore/strings.base.js +12 -0
  43. package/dist/collection/components/store/translationStore/strings.chinese.js +12 -0
  44. package/dist/collection/components/store/translationStore/strings.danish.js +12 -0
  45. package/dist/collection/components/store/translationStore/strings.dutch.js +12 -0
  46. package/dist/collection/components/store/translationStore/strings.french.js +12 -0
  47. package/dist/collection/components/store/translationStore/strings.german.js +12 -0
  48. package/dist/collection/components/store/translationStore/strings.hebrew.js +12 -0
  49. package/dist/collection/components/store/translationStore/strings.indonesian.js +12 -0
  50. package/dist/collection/components/store/translationStore/strings.italian.js +12 -0
  51. package/dist/collection/components/store/translationStore/strings.japanese.js +12 -0
  52. package/dist/collection/components/store/translationStore/strings.korean.js +12 -0
  53. package/dist/collection/components/store/translationStore/strings.norwegian.js +12 -0
  54. package/dist/collection/components/store/translationStore/strings.polish.js +12 -0
  55. package/dist/collection/components/store/translationStore/strings.portuguese.js +12 -0
  56. package/dist/collection/components/store/translationStore/strings.russian.js +12 -0
  57. package/dist/collection/components/store/translationStore/strings.spanish.js +12 -0
  58. package/dist/collection/components/store/translationStore/strings.swedish.js +12 -0
  59. package/dist/collection/components/store/translationStore/strings.turkish.js +12 -0
  60. package/dist/collection/components/store/translationStore/strings.vietnamese.js +12 -0
  61. package/dist/collection/components/store/zonosStore.js +1 -0
  62. package/dist/collection/types/generated/graphql.internal.types.js +70 -4
  63. package/dist/esm/{cart-aee97bf4.js → cart-74d92be2.js} +284 -5
  64. package/dist/esm/{getBorderRadius-9e3ea1de.js → getBorderRadius-d2e68013.js} +1 -1
  65. package/dist/esm/index.js +7 -7
  66. package/dist/esm/{isDarkColor-95f3ef90.js → isDarkColor-16e586a1.js} +1 -1
  67. package/dist/esm/loader.js +1 -1
  68. package/dist/esm/{paypal-4ed46f2f.js → paypal-459383ae.js} +3 -3
  69. package/dist/esm/zonos-address_8.entry.js +4 -4
  70. package/dist/esm/zonos-badge.entry.js +1 -1
  71. package/dist/esm/zonos-banner.entry.js +1 -1
  72. package/dist/esm/zonos-button_3.entry.js +9 -7
  73. package/dist/esm/zonos-card.entry.js +2 -2
  74. package/dist/esm/zonos-cart-items_13.entry.js +33 -15
  75. package/dist/esm/zonos-checkout.entry.js +56 -6
  76. package/dist/esm/zonos-collapse.entry.js +1 -1
  77. package/dist/esm/zonos-controller.entry.js +12 -7
  78. package/dist/esm/zonos-country-flag.entry.js +4 -4
  79. package/dist/esm/zonos-country-select_4.entry.js +4 -4
  80. package/dist/esm/zonos-elements.js +1 -1
  81. package/dist/esm/zonos-empty-state-payment_4.entry.js +5 -5
  82. package/dist/esm/zonos-hello-dialog.entry.js +4 -4
  83. package/dist/esm/zonos-hello.entry.js +4 -4
  84. package/dist/esm/zonos-input.entry.js +2 -2
  85. package/dist/esm/zonos-language-select_2.entry.js +4 -4
  86. package/dist/esm/zonos-logo.entry.js +1 -1
  87. package/dist/esm/zonos-shipping-rich-radio.entry.js +2 -2
  88. package/dist/esm/zonos-text.entry.js +1 -1
  89. package/dist/esm/zonos-toggle.entry.js +1 -1
  90. package/dist/esm/zonos-v-stack.entry.js +1 -1
  91. package/dist/esm/{zonosStore-82bb17e6.js → zonosStore-4b574fcc.js} +1 -0
  92. package/dist/esm-es5/cart-74d92be2.js +1 -0
  93. package/dist/esm-es5/{getBorderRadius-9e3ea1de.js → getBorderRadius-d2e68013.js} +1 -1
  94. package/dist/esm-es5/index.js +1 -1
  95. package/dist/esm-es5/{isDarkColor-95f3ef90.js → isDarkColor-16e586a1.js} +1 -1
  96. package/dist/esm-es5/loader.js +1 -1
  97. package/dist/esm-es5/{paypal-4ed46f2f.js → paypal-459383ae.js} +1 -1
  98. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  99. package/dist/esm-es5/zonos-badge.entry.js +1 -1
  100. package/dist/esm-es5/zonos-banner.entry.js +1 -1
  101. package/dist/esm-es5/zonos-button_3.entry.js +1 -1
  102. package/dist/esm-es5/zonos-card.entry.js +1 -1
  103. package/dist/esm-es5/zonos-cart-items_13.entry.js +1 -1
  104. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  105. package/dist/esm-es5/zonos-collapse.entry.js +1 -1
  106. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  107. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  108. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  109. package/dist/esm-es5/zonos-elements.js +1 -1
  110. package/dist/esm-es5/zonos-empty-state-payment_4.entry.js +1 -1
  111. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  112. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  113. package/dist/esm-es5/zonos-input.entry.js +1 -1
  114. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  115. package/dist/esm-es5/zonos-logo.entry.js +1 -1
  116. package/dist/esm-es5/zonos-shipping-rich-radio.entry.js +1 -1
  117. package/dist/esm-es5/zonos-text.entry.js +1 -1
  118. package/dist/esm-es5/zonos-toggle.entry.js +1 -1
  119. package/dist/esm-es5/zonos-v-stack.entry.js +1 -1
  120. package/dist/esm-es5/{zonosStore-82bb17e6.js → zonosStore-4b574fcc.js} +1 -1
  121. package/dist/scripts/index.d.ts +21 -0
  122. package/dist/scripts/index.js +1 -1
  123. package/dist/scripts/loadZonos.js +1 -1
  124. package/dist/scripts/zonos.js +1 -1
  125. package/dist/types/components/checkout/zonos-checkout/zonos-checkout.d.ts +5 -0
  126. package/dist/types/components/common/zonos-button/zonos-button.d.ts +4 -0
  127. package/dist/types/components/store/checkout/stripe.d.ts +9 -2
  128. package/dist/types/components/store/translationStore/strings.arabic.d.ts +12 -0
  129. package/dist/types/components/store/translationStore/strings.base.d.ts +12 -0
  130. package/dist/types/components/store/translationStore/strings.chinese.d.ts +12 -0
  131. package/dist/types/components/store/translationStore/strings.danish.d.ts +12 -0
  132. package/dist/types/components/store/translationStore/strings.dutch.d.ts +12 -0
  133. package/dist/types/components/store/translationStore/strings.french.d.ts +12 -0
  134. package/dist/types/components/store/translationStore/strings.german.d.ts +12 -0
  135. package/dist/types/components/store/translationStore/strings.hebrew.d.ts +12 -0
  136. package/dist/types/components/store/translationStore/strings.indonesian.d.ts +12 -0
  137. package/dist/types/components/store/translationStore/strings.italian.d.ts +12 -0
  138. package/dist/types/components/store/translationStore/strings.japanese.d.ts +12 -0
  139. package/dist/types/components/store/translationStore/strings.korean.d.ts +12 -0
  140. package/dist/types/components/store/translationStore/strings.norwegian.d.ts +12 -0
  141. package/dist/types/components/store/translationStore/strings.polish.d.ts +12 -0
  142. package/dist/types/components/store/translationStore/strings.portuguese.d.ts +12 -0
  143. package/dist/types/components/store/translationStore/strings.russian.d.ts +12 -0
  144. package/dist/types/components/store/translationStore/strings.spanish.d.ts +12 -0
  145. package/dist/types/components/store/translationStore/strings.swedish.d.ts +12 -0
  146. package/dist/types/components/store/translationStore/strings.turkish.d.ts +12 -0
  147. package/dist/types/components/store/translationStore/strings.vietnamese.d.ts +12 -0
  148. package/dist/types/components.d.ts +8 -0
  149. package/dist/types/types/checkout/CheckoutConfig.d.ts +6 -1
  150. package/dist/types/types/checkout/api/CheckoutSession.d.ts +6 -1
  151. package/dist/types/types/generated/graphql.internal.types.d.ts +109 -16
  152. package/dist/types/types/generated/graphql.internal.types.ts +147 -21
  153. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  154. package/dist/zonos-elements/index.esm.js +1 -1
  155. package/dist/zonos-elements/{p-5b6c5d04.js → p-000a41ab.js} +2 -2
  156. package/dist/zonos-elements/{p-9fcf4d8c.js → p-05a4d995.js} +1 -1
  157. package/dist/zonos-elements/p-08b4bd71.entry.js +1 -0
  158. package/dist/zonos-elements/{p-673d24f9.system.entry.js → p-0d30b20e.system.entry.js} +1 -1
  159. package/dist/zonos-elements/{p-972261dc.system.js → p-0e436c9d.system.js} +1 -1
  160. package/dist/zonos-elements/{p-88fc9989.entry.js → p-107bcbf5.entry.js} +1 -1
  161. package/dist/zonos-elements/p-13070bc0.system.js +1 -0
  162. package/dist/zonos-elements/{p-9c845327.system.entry.js → p-1448b57a.system.entry.js} +1 -1
  163. package/dist/zonos-elements/{p-84b2efef.entry.js → p-25f0a3d0.entry.js} +1 -1
  164. package/dist/zonos-elements/{p-2297c165.system.js → p-28325d38.system.js} +1 -1
  165. package/dist/zonos-elements/{p-84f71520.system.entry.js → p-290845c4.system.entry.js} +1 -1
  166. package/dist/zonos-elements/{p-d3be144d.entry.js → p-2cfad1a2.entry.js} +1 -1
  167. package/dist/zonos-elements/{p-3a3a2f51.system.entry.js → p-2f17dd0a.system.entry.js} +1 -1
  168. package/dist/zonos-elements/{p-77026d4a.entry.js → p-34cd2879.entry.js} +1 -1
  169. package/dist/zonos-elements/{p-78ea3d1e.system.entry.js → p-3a4f77dd.system.entry.js} +1 -1
  170. package/dist/zonos-elements/{p-30852c16.system.entry.js → p-3a5348d9.system.entry.js} +1 -1
  171. package/dist/zonos-elements/{p-75b44616.entry.js → p-40fc4f98.entry.js} +1 -1
  172. package/dist/zonos-elements/{p-c901ef48.system.entry.js → p-423a25ee.system.entry.js} +1 -1
  173. package/dist/zonos-elements/{p-5892ce43.system.js → p-42e46be2.system.js} +1 -1
  174. package/dist/zonos-elements/p-43cb3e80.entry.js +1 -0
  175. package/dist/zonos-elements/p-46f6e5e9.system.js +1 -1
  176. package/dist/zonos-elements/{p-eefadc0d.system.entry.js → p-4fb44ae1.system.entry.js} +1 -1
  177. package/dist/zonos-elements/{p-e1e17979.entry.js → p-536c5a47.entry.js} +1 -1
  178. package/dist/zonos-elements/{p-c8fa08b8.entry.js → p-61272f94.entry.js} +1 -1
  179. package/dist/zonos-elements/{p-75311708.system.entry.js → p-62a790cb.system.entry.js} +1 -1
  180. package/dist/zonos-elements/{p-3cbac6c3.system.entry.js → p-6b67039a.system.entry.js} +1 -1
  181. package/dist/zonos-elements/{p-b4d04d26.system.entry.js → p-7534ed11.system.entry.js} +1 -1
  182. package/dist/zonos-elements/{p-2c45f733.system.entry.js → p-767527f6.system.entry.js} +1 -1
  183. package/dist/zonos-elements/{p-532afee0.system.js → p-82d5803d.system.js} +1 -1
  184. package/dist/zonos-elements/p-83c9aae7.js +1 -0
  185. package/dist/zonos-elements/{p-38967d3a.system.entry.js → p-89b50f7d.system.entry.js} +1 -1
  186. package/dist/zonos-elements/{p-c071a4ca.entry.js → p-9308d8ad.entry.js} +1 -1
  187. package/dist/zonos-elements/p-98fbd95f.js +1 -0
  188. package/dist/zonos-elements/{p-5e867a64.system.entry.js → p-a25e15a0.system.entry.js} +1 -1
  189. package/dist/zonos-elements/{p-194bb37a.system.entry.js → p-ac6816b3.system.entry.js} +1 -1
  190. package/dist/zonos-elements/p-b0b4afdb.system.entry.js +1 -0
  191. package/dist/zonos-elements/{p-bd1a2003.entry.js → p-b1424255.entry.js} +1 -1
  192. package/dist/zonos-elements/{p-e47ed595.entry.js → p-b2f71850.entry.js} +1 -1
  193. package/dist/zonos-elements/p-b4dcb658.system.js +1 -0
  194. package/dist/zonos-elements/{p-5f761f09.system.entry.js → p-c6efea31.system.entry.js} +1 -1
  195. package/dist/zonos-elements/p-c725a571.entry.js +1 -0
  196. package/dist/zonos-elements/{p-d3a452d4.system.entry.js → p-c84eb1e5.system.entry.js} +1 -1
  197. package/dist/zonos-elements/{p-822600bd.entry.js → p-ca216e7b.entry.js} +1 -1
  198. package/dist/zonos-elements/{p-c285d20c.js → p-d29e8aaa.js} +1 -1
  199. package/dist/zonos-elements/{p-28c3f736.system.entry.js → p-d68dd730.system.entry.js} +1 -1
  200. package/dist/zonos-elements/{p-683d1598.entry.js → p-d705a5fb.entry.js} +1 -1
  201. package/dist/zonos-elements/p-dd3201f2.entry.js +1 -0
  202. package/dist/zonos-elements/{p-0160281f.entry.js → p-dd7a2d62.entry.js} +1 -1
  203. package/dist/zonos-elements/p-dfc11974.system.entry.js +1 -0
  204. package/dist/zonos-elements/{p-1262ad56.entry.js → p-e295baac.entry.js} +1 -1
  205. package/dist/zonos-elements/{p-7448f4a6.system.entry.js → p-e7def9ea.system.entry.js} +1 -1
  206. package/dist/zonos-elements/{p-7fe8c97d.entry.js → p-e9d7f9e7.entry.js} +1 -1
  207. package/dist/zonos-elements/{p-baa22bb3.entry.js → p-ed553eb2.entry.js} +1 -1
  208. package/dist/zonos-elements/{p-da404f8f.entry.js → p-f674d15a.entry.js} +1 -1
  209. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  210. package/package.json +1 -1
  211. package/dist/esm-es5/cart-aee97bf4.js +0 -1
  212. package/dist/zonos-elements/p-130a047c.entry.js +0 -1
  213. package/dist/zonos-elements/p-13579dba.entry.js +0 -1
  214. package/dist/zonos-elements/p-43b922bf.js +0 -1
  215. package/dist/zonos-elements/p-4bbf8931.entry.js +0 -1
  216. package/dist/zonos-elements/p-6d7dc2a2.system.entry.js +0 -1
  217. package/dist/zonos-elements/p-86da894d.js +0 -1
  218. package/dist/zonos-elements/p-bba01622.system.js +0 -1
  219. package/dist/zonos-elements/p-d1a57d82.system.entry.js +0 -1
  220. package/dist/zonos-elements/p-e477f1b1.entry.js +0 -1
  221. package/dist/zonos-elements/p-fb2a884f.system.js +0 -1
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const zonosStore = require('./zonosStore-0b1d27df.js');
3
+ const zonosStore = require('./zonosStore-188d96be.js');
4
4
  const handleFetch = require('./handleFetch-3673a0c2.js');
5
- const isDarkColor = require('./isDarkColor-9f6c3601.js');
6
- const getBorderRadius = require('./getBorderRadius-d3032bda.js');
5
+ const isDarkColor = require('./isDarkColor-cd98fcb7.js');
6
+ const getBorderRadius = require('./getBorderRadius-c4fed939.js');
7
7
 
8
8
  const stringsArabic = {
9
9
  ' (Duties due at door)': {
@@ -45,6 +45,9 @@ const stringsArabic = {
45
45
  'Billing address': {
46
46
  value: 'عنوان الفوترة',
47
47
  },
48
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
49
+ value: 'عند الدفع بالدولار الأمريكي، سيتم خصم المبلغ من بطاقتك مباشرة دون تحويل العملة. ومع ذلك، قد يؤدي استخدام بطاقة غير قائمة على الدولار الأمريكي إلى رسوم إضافية لتحويل العملة على مستوى البنك.',
50
+ },
48
51
  'CPF/CNPJ number': {
49
52
  value: 'رقم CPF/CNPJ',
50
53
  },
@@ -63,6 +66,9 @@ const stringsArabic = {
63
66
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
64
67
  value: 'انقر لنسخ رقم البطاقة. استخدم أي تاريخ انتهاء صلاحية مستقبلي ورمز CVC مكون من ثلاثة أرقام.',
65
68
  },
69
+ 'Click to pay in USD': {
70
+ value: 'انقر للدفع بالدولار الأمريكي',
71
+ },
66
72
  Close: {
67
73
  value: 'أغلق',
68
74
  },
@@ -219,6 +225,9 @@ const stringsArabic = {
219
225
  'Pay [organizationName]': {
220
226
  value: 'ادفع [organizationName]',
221
227
  },
228
+ 'Pay in USD (United States Dollar)?': {
229
+ value: 'الدفع بالدولار الأمريكي (USD)؟',
230
+ },
222
231
  Payment: {
223
232
  value: 'الدفع',
224
233
  },
@@ -396,6 +405,9 @@ const stringsArabic = {
396
405
  'Unable to check inventory. Please try again.': {
397
406
  value: 'تعذر التحقق من المخزون. حاول مرة أخرى.',
398
407
  },
408
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
409
+ value: 'غير قادر على إتمام الدفع بعملة [currency]. يرجى المحاولة مرة أخرى أو اختيار عملة مختلفة. إذا استمرت المشكلة، اتصل بفريق الدعم لدينا للحصول على المساعدة.',
410
+ },
399
411
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
400
412
  value: 'غير قادر على استرداد جلسة الدفع في الوقت الحالي. يرجى المحاولة مرة أخرى أو الاتصال بفريق الدعم لدينا.',
401
413
  },
@@ -513,6 +525,9 @@ const stringsBase = {
513
525
  'Billing address': {
514
526
  value: 'Billing address',
515
527
  },
528
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
529
+ value: 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.',
530
+ },
516
531
  'CPF/CNPJ number': {
517
532
  value: 'CPF/CNPJ number',
518
533
  },
@@ -531,6 +546,9 @@ const stringsBase = {
531
546
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
532
547
  value: 'Click to copy the card number. Use any future expiration date and three number CVC.',
533
548
  },
549
+ 'Click to pay in USD': {
550
+ value: 'Click to pay in USD',
551
+ },
534
552
  Close: {
535
553
  value: 'Close',
536
554
  },
@@ -687,6 +705,9 @@ const stringsBase = {
687
705
  'Pay [organizationName]': {
688
706
  value: 'Pay [organizationName]',
689
707
  },
708
+ 'Pay in USD (United States Dollar)?': {
709
+ value: 'Pay in USD (United States Dollar)?',
710
+ },
690
711
  Payment: {
691
712
  value: 'Payment',
692
713
  },
@@ -864,6 +885,9 @@ const stringsBase = {
864
885
  'Unable to check inventory. Please try again.': {
865
886
  value: 'Unable to check inventory. Please try again.',
866
887
  },
888
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
889
+ value: 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.',
890
+ },
867
891
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
868
892
  value: 'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.',
869
893
  },
@@ -981,6 +1005,9 @@ const stringsChinese = {
981
1005
  'Billing address': {
982
1006
  value: '账单地址',
983
1007
  },
1008
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
1009
+ value: '通过以美元支付,您的卡将直接扣款,无需货币转换。然而,使用非美元卡可能会导致银行层面的额外货币转换费用。',
1010
+ },
984
1011
  'CPF/CNPJ number': {
985
1012
  value: 'CPF/CNPJ号码',
986
1013
  },
@@ -999,6 +1026,9 @@ const stringsChinese = {
999
1026
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
1000
1027
  value: '点击复制卡号。使用任何未来的到期日期和三位数的CVC。',
1001
1028
  },
1029
+ 'Click to pay in USD': {
1030
+ value: '点击以美元支付',
1031
+ },
1002
1032
  Close: {
1003
1033
  value: '关闭',
1004
1034
  },
@@ -1155,6 +1185,9 @@ const stringsChinese = {
1155
1185
  'Pay [organizationName]': {
1156
1186
  value: '支付[organizationName]',
1157
1187
  },
1188
+ 'Pay in USD (United States Dollar)?': {
1189
+ value: '用美元(USD)支付?',
1190
+ },
1158
1191
  Payment: {
1159
1192
  value: '支付',
1160
1193
  },
@@ -1332,6 +1365,9 @@ const stringsChinese = {
1332
1365
  'Unable to check inventory. Please try again.': {
1333
1366
  value: '无法检查库存。请再试一次。',
1334
1367
  },
1368
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
1369
+ value: '无法完成[currency]的付款。请重试或选择其他货币。如果问题仍然存在,请联系支持团队以获得帮助。',
1370
+ },
1335
1371
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
1336
1372
  value: '目前无法检索结账会话。请重试或联系我们的支持团队。',
1337
1373
  },
@@ -1449,6 +1485,9 @@ const stringsDanish = {
1449
1485
  'Billing address': {
1450
1486
  value: 'Fakturaadresse',
1451
1487
  },
1488
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
1489
+ value: 'Ved betaling i USD vil dit kort blive opkrævet direkte uden valutakonvertering. Dog kan brug af et kort, der ikke er baseret på USD, resultere i yderligere valutakonverteringsgebyrer på bankniveau.',
1490
+ },
1452
1491
  'CPF/CNPJ number': {
1453
1492
  value: 'CPF/CNPJ-nummer',
1454
1493
  },
@@ -1467,6 +1506,9 @@ const stringsDanish = {
1467
1506
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
1468
1507
  value: 'Klik for at kopiere kortnummeret. Brug en hvilken som helst fremtidig udløbsdato og tre cifre CVC.',
1469
1508
  },
1509
+ 'Click to pay in USD': {
1510
+ value: 'Klik for at betale i USD',
1511
+ },
1470
1512
  Close: {
1471
1513
  value: 'Lukke',
1472
1514
  },
@@ -1623,6 +1665,9 @@ const stringsDanish = {
1623
1665
  'Pay [organizationName]': {
1624
1666
  value: 'Betal [organizationName]',
1625
1667
  },
1668
+ 'Pay in USD (United States Dollar)?': {
1669
+ value: 'Betal i USD (amerikanske dollar)?',
1670
+ },
1626
1671
  Payment: {
1627
1672
  value: 'Betaling',
1628
1673
  },
@@ -1800,6 +1845,9 @@ const stringsDanish = {
1800
1845
  'Unable to check inventory. Please try again.': {
1801
1846
  value: 'Kunne ikke tjekke lagerbeholdningen. Prøv venligst igen.',
1802
1847
  },
1848
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
1849
+ value: 'Kan ikke gennemføre betaling i [currency]. Prøv igen eller vælg en anden valuta. Hvis problemet fortsætter, kontakt vores supportteam for hjælp.',
1850
+ },
1803
1851
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
1804
1852
  value: 'Kan ikke hente betalingssessionen i øjeblikket. Prøv venligst igen eller kontakt vores supportteam.',
1805
1853
  },
@@ -1917,6 +1965,9 @@ const stringsDutch = {
1917
1965
  'Billing address': {
1918
1966
  value: 'Factuuradres',
1919
1967
  },
1968
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
1969
+ value: 'Door in USD te betalen, wordt uw kaart direct belast zonder valutaconversie. Het gebruik van een kaart die niet op USD is gebaseerd, kan echter resulteren in extra valutaconversiekosten op bankniveau.',
1970
+ },
1920
1971
  'CPF/CNPJ number': {
1921
1972
  value: 'CPF/CNPJ-nummer',
1922
1973
  },
@@ -1935,6 +1986,9 @@ const stringsDutch = {
1935
1986
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
1936
1987
  value: 'Klik om het kaartnummer te kopiëren. Gebruik een toekomstige vervaldatum en een CVC van drie cijfers.',
1937
1988
  },
1989
+ 'Click to pay in USD': {
1990
+ value: 'Klik om in USD te betalen',
1991
+ },
1938
1992
  Close: {
1939
1993
  value: 'Sluiten',
1940
1994
  },
@@ -2091,6 +2145,9 @@ const stringsDutch = {
2091
2145
  'Pay [organizationName]': {
2092
2146
  value: 'Betaal [organizationName]',
2093
2147
  },
2148
+ 'Pay in USD (United States Dollar)?': {
2149
+ value: 'Betalen in USD (Amerikaanse Dollar)?',
2150
+ },
2094
2151
  Payment: {
2095
2152
  value: 'Betaling',
2096
2153
  },
@@ -2268,6 +2325,9 @@ const stringsDutch = {
2268
2325
  'Unable to check inventory. Please try again.': {
2269
2326
  value: 'Kon de voorraad niet controleren. Probeer het opnieuw.',
2270
2327
  },
2328
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
2329
+ value: 'Betaling in [currency] kan niet worden voltooid. Probeer het opnieuw of selecteer een andere valuta. Als het probleem aanhoudt, neem dan contact op met ons ondersteuningsteam voor hulp.',
2330
+ },
2271
2331
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
2272
2332
  value: 'Kan de betaal sessie momenteel niet ophalen. Probeer het opnieuw of neem contact op met ons ondersteuningsteam.',
2273
2333
  },
@@ -2385,6 +2445,9 @@ const stringsFrench = {
2385
2445
  'Billing address': {
2386
2446
  value: 'Adresse de facturation',
2387
2447
  },
2448
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
2449
+ value: "En payant en USD, votre carte sera débitée directement sans conversion de devise. Cependant, l'utilisation d'une carte non basée sur l'USD peut entraîner des frais supplémentaires de conversion de devise au niveau bancaire.",
2450
+ },
2388
2451
  'CPF/CNPJ number': {
2389
2452
  value: 'Numéro CPF/CNPJ',
2390
2453
  },
@@ -2403,6 +2466,9 @@ const stringsFrench = {
2403
2466
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
2404
2467
  value: "Cliquez pour copier le numéro de la carte. Utilisez une date d'expiration future et un CVC à trois chiffres.",
2405
2468
  },
2469
+ 'Click to pay in USD': {
2470
+ value: 'Cliquez pour payer en USD',
2471
+ },
2406
2472
  Close: {
2407
2473
  value: 'Fermer',
2408
2474
  },
@@ -2559,6 +2625,9 @@ const stringsFrench = {
2559
2625
  'Pay [organizationName]': {
2560
2626
  value: 'Payer [organizationName]',
2561
2627
  },
2628
+ 'Pay in USD (United States Dollar)?': {
2629
+ value: 'Payer en USD (Dollar Américain) ?',
2630
+ },
2562
2631
  Payment: {
2563
2632
  value: 'Paiement',
2564
2633
  },
@@ -2736,6 +2805,9 @@ const stringsFrench = {
2736
2805
  'Unable to check inventory. Please try again.': {
2737
2806
  value: "Impossible de vérifier l'inventaire. Veuillez réessayer.",
2738
2807
  },
2808
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
2809
+ value: "Impossible de terminer le paiement en [currency]. Veuillez réessayer ou sélectionner une autre devise. Si le problème persiste, contactez notre équipe d'assistance pour obtenir de l'aide.",
2810
+ },
2739
2811
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
2740
2812
  value: "Impossible de récupérer la session de paiement pour le moment. Veuillez réessayer ou contacter notre équipe d'assistance.",
2741
2813
  },
@@ -2853,6 +2925,9 @@ const stringsGerman = {
2853
2925
  'Billing address': {
2854
2926
  value: 'Rechnungsadresse',
2855
2927
  },
2928
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
2929
+ value: 'Bei Zahlung in USD wird Ihre Karte direkt ohne Währungsumrechnung belastet. Die Verwendung einer nicht auf USD basierenden Karte kann jedoch zu zusätzlichen Währungsumrechnungsgebühren auf Bankebene führen.',
2930
+ },
2856
2931
  'CPF/CNPJ number': {
2857
2932
  value: 'CPF/CNPJ-Nummer',
2858
2933
  },
@@ -2871,6 +2946,9 @@ const stringsGerman = {
2871
2946
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
2872
2947
  value: 'Klicken Sie, um die Kartennummer zu kopieren. Verwenden Sie ein zukünftiges Ablaufdatum und einen dreistelligen CVC.',
2873
2948
  },
2949
+ 'Click to pay in USD': {
2950
+ value: 'Klicken Sie, um in USD zu bezahlen',
2951
+ },
2874
2952
  Close: {
2875
2953
  value: 'Schließen',
2876
2954
  },
@@ -3027,6 +3105,9 @@ const stringsGerman = {
3027
3105
  'Pay [organizationName]': {
3028
3106
  value: 'Zahlen [organizationName]',
3029
3107
  },
3108
+ 'Pay in USD (United States Dollar)?': {
3109
+ value: 'In USD (US-Dollar) bezahlen?',
3110
+ },
3030
3111
  Payment: {
3031
3112
  value: 'Zahlung',
3032
3113
  },
@@ -3204,6 +3285,9 @@ const stringsGerman = {
3204
3285
  'Unable to check inventory. Please try again.': {
3205
3286
  value: 'Inventar konnte nicht überprüft werden. Bitte versuchen Sie es erneut.',
3206
3287
  },
3288
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
3289
+ value: 'Zahlung in [currency] kann nicht abgeschlossen werden. Bitte versuchen Sie es erneut oder wählen Sie eine andere Währung. Wenn das Problem weiterhin besteht, wenden Sie sich an unser Support-Team.',
3290
+ },
3207
3291
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
3208
3292
  value: 'Die Checkout-Sitzung kann momentan nicht abgerufen werden. Bitte versuchen Sie es erneut oder kontaktieren Sie unser Support-Team.',
3209
3293
  },
@@ -3321,6 +3405,9 @@ const stringsHebrew = {
3321
3405
  'Billing address': {
3322
3406
  value: 'כתובת לחיוב',
3323
3407
  },
3408
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
3409
+ value: 'על ידי תשלום ב-USD, הכרטיס שלך יחויב ישירות ללא המרת מטבע. עם זאת, שימוש בכרטיס שאינו מבוסס על USD עשוי לגרום לעמלות המרת מטבע נוספות ברמת הבנק.',
3410
+ },
3324
3411
  'CPF/CNPJ number': {
3325
3412
  value: 'מספר CPF/CNPJ',
3326
3413
  },
@@ -3339,6 +3426,9 @@ const stringsHebrew = {
3339
3426
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
3340
3427
  value: 'לחץ להעתיק את מספר הכרטיס. השתמש בכל תאריך תפוגה עתידי ו-CVC בן שלושה מספרים.',
3341
3428
  },
3429
+ 'Click to pay in USD': {
3430
+ value: 'לחץ כדי לשלם ב-USD',
3431
+ },
3342
3432
  Close: {
3343
3433
  value: 'סגור',
3344
3434
  },
@@ -3495,6 +3585,9 @@ const stringsHebrew = {
3495
3585
  'Pay [organizationName]': {
3496
3586
  value: 'שלם [organizationName]',
3497
3587
  },
3588
+ 'Pay in USD (United States Dollar)?': {
3589
+ value: 'לשלם ב-USD (דולר אמריקאי)?',
3590
+ },
3498
3591
  Payment: {
3499
3592
  value: 'תַשְׁלוּם',
3500
3593
  },
@@ -3672,6 +3765,9 @@ const stringsHebrew = {
3672
3765
  'Unable to check inventory. Please try again.': {
3673
3766
  value: 'לא ניתן היה לבדוק את המלאי. אנא נסה שוב.',
3674
3767
  },
3768
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
3769
+ value: 'לא ניתן להשלים את התשלום ב-[currency]. אנא נסה שוב או בחר מטבע אחר. אם הבעיה נמשכת, פנה לצוות התמיכה שלנו לעזרה.',
3770
+ },
3675
3771
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
3676
3772
  value: 'לא ניתן לאחזר את מושב התשלום כרגע. אנא נסה שוב או צור קשר עם צוות התמיכה שלנו.',
3677
3773
  },
@@ -3789,6 +3885,9 @@ const stringsIndonesian = {
3789
3885
  'Billing address': {
3790
3886
  value: 'Alamat Penagihan',
3791
3887
  },
3888
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
3889
+ value: 'Dengan membayar dalam USD, kartu Anda akan dikenakan biaya langsung tanpa konversi mata uang. Namun, menggunakan kartu yang tidak berbasis USD dapat mengakibatkan biaya konversi mata uang tambahan di tingkat bank.',
3890
+ },
3792
3891
  'CPF/CNPJ number': {
3793
3892
  value: 'Nomor CPF/CNPJ',
3794
3893
  },
@@ -3807,6 +3906,9 @@ const stringsIndonesian = {
3807
3906
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
3808
3907
  value: 'Klik untuk menyalin nomor kartu. Gunakan tanggal kedaluwarsa di masa mendatang dan tiga angka CVC.',
3809
3908
  },
3909
+ 'Click to pay in USD': {
3910
+ value: 'Klik untuk membayar dalam USD',
3911
+ },
3810
3912
  Close: {
3811
3913
  value: 'Tutup',
3812
3914
  },
@@ -3963,6 +4065,9 @@ const stringsIndonesian = {
3963
4065
  'Pay [organizationName]': {
3964
4066
  value: 'Bayar [organizationName]',
3965
4067
  },
4068
+ 'Pay in USD (United States Dollar)?': {
4069
+ value: 'Bayar dalam USD (Dolar Amerika Serikat)?',
4070
+ },
3966
4071
  Payment: {
3967
4072
  value: 'Pembayaran',
3968
4073
  },
@@ -4140,6 +4245,9 @@ const stringsIndonesian = {
4140
4245
  'Unable to check inventory. Please try again.': {
4141
4246
  value: 'Tidak dapat memeriksa inventaris. Silakan coba lagi.',
4142
4247
  },
4248
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
4249
+ value: 'Tidak dapat menyelesaikan pembayaran dalam [currency]. Silakan coba lagi atau pilih mata uang lain. Jika masalah berlanjut, hubungi tim dukungan kami untuk mendapatkan bantuan.',
4250
+ },
4143
4251
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
4144
4252
  value: 'Tidak dapat mengambil sesi checkout saat ini. Silakan coba lagi atau hubungi tim dukungan kami.',
4145
4253
  },
@@ -4257,6 +4365,9 @@ const stringsItalian = {
4257
4365
  'Billing address': {
4258
4366
  value: 'Indirizzo di fatturazione',
4259
4367
  },
4368
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
4369
+ value: "Pagando in USD, la tua carta verrà addebitata direttamente senza conversione di valuta. Tuttavia, l'uso di una carta non basata su USD può comportare costi aggiuntivi di conversione valutaria a livello bancario.",
4370
+ },
4260
4371
  'CPF/CNPJ number': {
4261
4372
  value: 'Numero CPF/CNPJ',
4262
4373
  },
@@ -4275,6 +4386,9 @@ const stringsItalian = {
4275
4386
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
4276
4387
  value: 'Fare clic per copiare il numero della carta. Usa una qualsiasi data di scadenza futura e un CVC di tre cifre.',
4277
4388
  },
4389
+ 'Click to pay in USD': {
4390
+ value: 'Fai clic per pagare in USD',
4391
+ },
4278
4392
  Close: {
4279
4393
  value: 'Chiudere',
4280
4394
  },
@@ -4431,6 +4545,9 @@ const stringsItalian = {
4431
4545
  'Pay [organizationName]': {
4432
4546
  value: 'Paga [organizationName]',
4433
4547
  },
4548
+ 'Pay in USD (United States Dollar)?': {
4549
+ value: 'Pagare in USD (Dollaro Statunitense)?',
4550
+ },
4434
4551
  Payment: {
4435
4552
  value: 'Pagamento',
4436
4553
  },
@@ -4608,6 +4725,9 @@ const stringsItalian = {
4608
4725
  'Unable to check inventory. Please try again.': {
4609
4726
  value: "Impossibile verificare l'inventario. Si prega di riprovare.",
4610
4727
  },
4728
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
4729
+ value: 'Impossibile completare il pagamento in [currency]. Riprova o seleziona una valuta diversa. Se il problema persiste, contatta il nostro team di supporto per assistenza.',
4730
+ },
4611
4731
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
4612
4732
  value: 'Impossibile recuperare la sessione di pagamento al momento. Si prega di riprovare o contattare il nostro team di supporto.',
4613
4733
  },
@@ -4725,6 +4845,9 @@ const stringsJapanese = {
4725
4845
  'Billing address': {
4726
4846
  value: '請求先住所',
4727
4847
  },
4848
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
4849
+ value: 'USDで支払うと、通貨換算なしでカードに直接請求されます。ただし、USD以外のカードを使用すると、銀行レベルで追加の通貨換算手数料が発生する場合があります。',
4850
+ },
4728
4851
  'CPF/CNPJ number': {
4729
4852
  value: 'CPF/CNPJ番号',
4730
4853
  },
@@ -4743,6 +4866,9 @@ const stringsJapanese = {
4743
4866
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
4744
4867
  value: 'カード番号をコピーするにはクリックしてください。任意の将来の有効期限と3桁のCVCを使用してください。',
4745
4868
  },
4869
+ 'Click to pay in USD': {
4870
+ value: 'USDで支払うにはクリックしてください',
4871
+ },
4746
4872
  Close: {
4747
4873
  value: '閉める',
4748
4874
  },
@@ -4899,6 +5025,9 @@ const stringsJapanese = {
4899
5025
  'Pay [organizationName]': {
4900
5026
  value: '[organizationName]に支払う',
4901
5027
  },
5028
+ 'Pay in USD (United States Dollar)?': {
5029
+ value: 'USD(米ドル)で支払いますか?',
5030
+ },
4902
5031
  Payment: {
4903
5032
  value: '支払い',
4904
5033
  },
@@ -5076,6 +5205,9 @@ const stringsJapanese = {
5076
5205
  'Unable to check inventory. Please try again.': {
5077
5206
  value: '在庫を確認できません。再試行してください。',
5078
5207
  },
5208
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
5209
+ value: '[currency]での支払いを完了できません。もう一度お試しいただくか、別の通貨を選択してください。問題が解決しない場合は、サポートチームにお問い合わせください。',
5210
+ },
5079
5211
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
5080
5212
  value: '現在、チェックアウトセッションを取得できません。もう一度お試しいただくか、サポートチームにお問い合わせください。',
5081
5213
  },
@@ -5193,6 +5325,9 @@ const stringsKorean = {
5193
5325
  'Billing address': {
5194
5326
  value: '청구지 주소',
5195
5327
  },
5328
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
5329
+ value: 'USD로 결제하면 통화 변환 없이 카드가 직접 청구됩니다. 그러나 USD 기반이 아닌 카드를 사용하면 은행 수준에서 추가 통화 변환 수수료가 발생할 수 있습니다.',
5330
+ },
5196
5331
  'CPF/CNPJ number': {
5197
5332
  value: 'CPF/CNPJ 번호',
5198
5333
  },
@@ -5211,6 +5346,9 @@ const stringsKorean = {
5211
5346
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
5212
5347
  value: '카드 번호를 복사하려면 클릭하십시오. 미래의 만료 날짜와 세 자리 CVC를 사용하십시오.',
5213
5348
  },
5349
+ 'Click to pay in USD': {
5350
+ value: 'USD로 결제하려면 클릭하세요',
5351
+ },
5214
5352
  Close: {
5215
5353
  value: '닫기',
5216
5354
  },
@@ -5367,6 +5505,9 @@ const stringsKorean = {
5367
5505
  'Pay [organizationName]': {
5368
5506
  value: '[organizationName]에 지불',
5369
5507
  },
5508
+ 'Pay in USD (United States Dollar)?': {
5509
+ value: 'USD(미국 달러)로 결제하시겠습니까?',
5510
+ },
5370
5511
  Payment: {
5371
5512
  value: '지불',
5372
5513
  },
@@ -5544,6 +5685,9 @@ const stringsKorean = {
5544
5685
  'Unable to check inventory. Please try again.': {
5545
5686
  value: '재고를 확인할 수 없습니다. 다시 시도해 주세요.',
5546
5687
  },
5688
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
5689
+ value: '[currency]로 결제를 완료할 수 없습니다. 다시 시도하거나 다른 통화를 선택하십시오. 문제가 지속되면 지원팀에 문의하십시오.',
5690
+ },
5547
5691
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
5548
5692
  value: '현재 결제 세션을 가져올 수 없습니다. 다시 시도하거나 지원 팀에 문의하십시오.',
5549
5693
  },
@@ -5661,6 +5805,9 @@ const stringsNorwegian = {
5661
5805
  'Billing address': {
5662
5806
  value: 'Fakturaadresse',
5663
5807
  },
5808
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
5809
+ value: 'Ved å betale i USD, vil kortet ditt bli belastet direkte uten valutakonvertering. Imidlertid kan bruk av et kort som ikke er basert på USD, resultere i ekstra valutakonverteringsgebyrer på banknivå.',
5810
+ },
5664
5811
  'CPF/CNPJ number': {
5665
5812
  value: 'CPF/CNPJ-nummer',
5666
5813
  },
@@ -5679,6 +5826,9 @@ const stringsNorwegian = {
5679
5826
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
5680
5827
  value: 'Klikk for å kopiere kortnummeret. Bruk en fremtidig utløpsdato og tre sifre CVC.',
5681
5828
  },
5829
+ 'Click to pay in USD': {
5830
+ value: 'Klikk for å betale i USD',
5831
+ },
5682
5832
  Close: {
5683
5833
  value: 'Lukk',
5684
5834
  },
@@ -5835,6 +5985,9 @@ const stringsNorwegian = {
5835
5985
  'Pay [organizationName]': {
5836
5986
  value: 'Betal [organizationName]',
5837
5987
  },
5988
+ 'Pay in USD (United States Dollar)?': {
5989
+ value: 'Betale i USD (amerikanske dollar)?',
5990
+ },
5838
5991
  Payment: {
5839
5992
  value: 'Betaling',
5840
5993
  },
@@ -6012,6 +6165,9 @@ const stringsNorwegian = {
6012
6165
  'Unable to check inventory. Please try again.': {
6013
6166
  value: 'Kunne ikke sjekke lagerbeholdningen. Vennligst prøv igjen.',
6014
6167
  },
6168
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
6169
+ value: 'Kan ikke fullføre betalingen i [currency]. Vennligst prøv igjen eller velg en annen valuta. Hvis problemet vedvarer, kontakt vårt supportteam for hjelp.',
6170
+ },
6015
6171
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
6016
6172
  value: 'Kan ikke hente utsjekkingsøkten for øyeblikket. Vennligst prøv igjen eller kontakt vårt supportteam.',
6017
6173
  },
@@ -6129,6 +6285,9 @@ const stringsPolish = {
6129
6285
  'Billing address': {
6130
6286
  value: 'Adres rozliczeniowy',
6131
6287
  },
6288
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
6289
+ value: 'Płacąc w USD, Twoja karta zostanie obciążona bezpośrednio bez konwersji walutowej. Jednak użycie karty nie opartej na USD może skutkować dodatkowymi opłatami za konwersję walut na poziomie banku.',
6290
+ },
6132
6291
  'CPF/CNPJ number': {
6133
6292
  value: 'Numer CPF/CNPJ',
6134
6293
  },
@@ -6147,6 +6306,9 @@ const stringsPolish = {
6147
6306
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
6148
6307
  value: 'Kliknij, aby skopiować numer karty. Użyj dowolnej przyszłej daty ważności i trzycyfrowego CVC.',
6149
6308
  },
6309
+ 'Click to pay in USD': {
6310
+ value: 'Kliknij, aby zapłacić w USD',
6311
+ },
6150
6312
  Close: {
6151
6313
  value: 'Zamknij',
6152
6314
  },
@@ -6303,6 +6465,9 @@ const stringsPolish = {
6303
6465
  'Pay [organizationName]': {
6304
6466
  value: 'Zapłać [organizationName]',
6305
6467
  },
6468
+ 'Pay in USD (United States Dollar)?': {
6469
+ value: 'Płacić w USD (Dolar Amerykański)?',
6470
+ },
6306
6471
  Payment: {
6307
6472
  value: 'Płatność',
6308
6473
  },
@@ -6480,6 +6645,9 @@ const stringsPolish = {
6480
6645
  'Unable to check inventory. Please try again.': {
6481
6646
  value: 'Nie można sprawdzić stanu magazynu. Spróbuj ponownie.',
6482
6647
  },
6648
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
6649
+ value: 'Nie można zakończyć płatności w [currency]. Spróbuj ponownie lub wybierz inną walutę. Jeśli problem będzie się powtarzał, skontaktuj się z naszym zespołem wsparcia technicznego.',
6650
+ },
6483
6651
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
6484
6652
  value: 'Nie można pobrać sesji kasy w tej chwili. Proszę spróbować ponownie lub skontaktować się z naszym zespołem wsparcia.',
6485
6653
  },
@@ -6597,6 +6765,9 @@ const stringsPortuguese = {
6597
6765
  'Billing address': {
6598
6766
  value: 'Endereço de faturação',
6599
6767
  },
6768
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
6769
+ value: 'Ao pagar em USD, seu cartão será cobrado diretamente sem conversão de moeda. No entanto, usar um cartão que não seja baseado em USD pode resultar em taxas adicionais de conversão de moeda no nível do banco.',
6770
+ },
6600
6771
  'CPF/CNPJ number': {
6601
6772
  value: 'Número de CPF/CNPJ',
6602
6773
  },
@@ -6615,6 +6786,9 @@ const stringsPortuguese = {
6615
6786
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
6616
6787
  value: 'Clique para copiar o número do cartão. Use qualquer data de validade futura e um CVC de três números.',
6617
6788
  },
6789
+ 'Click to pay in USD': {
6790
+ value: 'Clique para pagar em USD',
6791
+ },
6618
6792
  Close: {
6619
6793
  value: 'Fechar',
6620
6794
  },
@@ -6771,6 +6945,9 @@ const stringsPortuguese = {
6771
6945
  'Pay [organizationName]': {
6772
6946
  value: 'Pagar [organizationName]',
6773
6947
  },
6948
+ 'Pay in USD (United States Dollar)?': {
6949
+ value: 'Pagar em USD (Dólar dos Estados Unidos)?',
6950
+ },
6774
6951
  Payment: {
6775
6952
  value: 'Pagamento',
6776
6953
  },
@@ -6948,6 +7125,9 @@ const stringsPortuguese = {
6948
7125
  'Unable to check inventory. Please try again.': {
6949
7126
  value: 'Não foi possível verificar o inventário. Por favor, tente novamente.',
6950
7127
  },
7128
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
7129
+ value: 'Não é possível concluir o pagamento em [currency]. Tente novamente ou selecione uma moeda diferente. Se o problema persistir, entre em contato com nossa equipe de suporte para obter assistência.',
7130
+ },
6951
7131
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
6952
7132
  value: 'Não é possível recuperar a sessão de checkout no momento. Por favor, tente novamente ou entre em contato com nossa equipe de suporte.',
6953
7133
  },
@@ -7065,6 +7245,9 @@ const stringsRussian = {
7065
7245
  'Billing address': {
7066
7246
  value: 'Платежный адрес',
7067
7247
  },
7248
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
7249
+ value: 'При оплате в долларах США ваша карта будет списана напрямую без конвертации валюты. Однако использование карты, не основанной на долларах США, может привести к дополнительным комиссиям за конвертацию валюты на уровне банка.',
7250
+ },
7068
7251
  'CPF/CNPJ number': {
7069
7252
  value: 'Номер CPF/CNPJ',
7070
7253
  },
@@ -7083,6 +7266,9 @@ const stringsRussian = {
7083
7266
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
7084
7267
  value: 'Нажмите, чтобы скопировать номер карты. Используйте любую будущую дату истечения срока действия и трехзначный CVC.',
7085
7268
  },
7269
+ 'Click to pay in USD': {
7270
+ value: 'Нажмите, чтобы оплатить в USD',
7271
+ },
7086
7272
  Close: {
7087
7273
  value: 'Закрыть',
7088
7274
  },
@@ -7239,6 +7425,9 @@ const stringsRussian = {
7239
7425
  'Pay [organizationName]': {
7240
7426
  value: 'Оплатить [organizationName]',
7241
7427
  },
7428
+ 'Pay in USD (United States Dollar)?': {
7429
+ value: 'Оплатить в USD (доллары США)?',
7430
+ },
7242
7431
  Payment: {
7243
7432
  value: 'Оплата',
7244
7433
  },
@@ -7416,6 +7605,9 @@ const stringsRussian = {
7416
7605
  'Unable to check inventory. Please try again.': {
7417
7606
  value: 'Не удалось проверить наличие на складе. Пожалуйста, попробуйте снова.',
7418
7607
  },
7608
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
7609
+ value: 'Не удается завершить платеж в [currency]. Пожалуйста, попробуйте снова или выберите другую валюту. Если проблема сохраняется, свяжитесь с нашей службой поддержки для получения помощи.',
7610
+ },
7419
7611
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
7420
7612
  value: 'Не удается получить сеанс оформления заказа в данный момент. Пожалуйста, попробуйте еще раз или свяжитесь с нашей службой поддержки.',
7421
7613
  },
@@ -7533,6 +7725,9 @@ const stringsSpanish = {
7533
7725
  'Billing address': {
7534
7726
  value: 'Dirección de facturación',
7535
7727
  },
7728
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
7729
+ value: 'Al pagar en USD, su tarjeta se cargará directamente sin conversión de moneda. Sin embargo, usar una tarjeta que no sea en USD puede resultar en tarifas adicionales de conversión de moneda a nivel bancario.',
7730
+ },
7536
7731
  'CPF/CNPJ number': {
7537
7732
  value: 'Número de CPF/CNPJ',
7538
7733
  },
@@ -7551,6 +7746,9 @@ const stringsSpanish = {
7551
7746
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
7552
7747
  value: 'Haga clic para copiar el número de la tarjeta. Use cualquier fecha de vencimiento futura y un CVC de tres números.',
7553
7748
  },
7749
+ 'Click to pay in USD': {
7750
+ value: 'Haga clic para pagar en USD',
7751
+ },
7554
7752
  Close: {
7555
7753
  value: 'Cerrar',
7556
7754
  },
@@ -7707,6 +7905,9 @@ const stringsSpanish = {
7707
7905
  'Pay [organizationName]': {
7708
7906
  value: 'Pagar a [organizationName]',
7709
7907
  },
7908
+ 'Pay in USD (United States Dollar)?': {
7909
+ value: '¿Pagar en USD (Dólar Estadounidense)?',
7910
+ },
7710
7911
  Payment: {
7711
7912
  value: 'Pago',
7712
7913
  },
@@ -7884,6 +8085,9 @@ const stringsSpanish = {
7884
8085
  'Unable to check inventory. Please try again.': {
7885
8086
  value: 'No se pudo verificar el inventario. Por favor, inténtelo de nuevo.',
7886
8087
  },
8088
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
8089
+ value: 'No se puede completar el pago en [currency]. Inténtelo de nuevo o seleccione una moneda diferente. Si el problema persiste, comuníquese con nuestro equipo de soporte para obtener ayuda.',
8090
+ },
7887
8091
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
7888
8092
  value: 'No se puede recuperar la sesión de pago en este momento. Por favor, inténtelo de nuevo o contacte a nuestro equipo de soporte.',
7889
8093
  },
@@ -8001,6 +8205,9 @@ const stringsSwedish = {
8001
8205
  'Billing address': {
8002
8206
  value: 'Fakturaadress',
8003
8207
  },
8208
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
8209
+ value: 'Genom att betala i USD debiteras ditt kort direkt utan valutakonvertering. Att använda ett kort som inte är baserat på USD kan dock resultera i ytterligare valutakonverteringsavgifter på banknivå.',
8210
+ },
8004
8211
  'CPF/CNPJ number': {
8005
8212
  value: 'CPF/CNPJ-nummer',
8006
8213
  },
@@ -8019,6 +8226,9 @@ const stringsSwedish = {
8019
8226
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
8020
8227
  value: 'Klicka för att kopiera kortnumret. Använd ett framtida utgångsdatum och en tresiffrig CVC.',
8021
8228
  },
8229
+ 'Click to pay in USD': {
8230
+ value: 'Klicka för att betala i USD',
8231
+ },
8022
8232
  Close: {
8023
8233
  value: 'Stänga',
8024
8234
  },
@@ -8175,6 +8385,9 @@ const stringsSwedish = {
8175
8385
  'Pay [organizationName]': {
8176
8386
  value: 'Betala [organizationName]',
8177
8387
  },
8388
+ 'Pay in USD (United States Dollar)?': {
8389
+ value: 'Betala i USD (amerikanska dollar)?',
8390
+ },
8178
8391
  Payment: {
8179
8392
  value: 'Betalning',
8180
8393
  },
@@ -8352,6 +8565,9 @@ const stringsSwedish = {
8352
8565
  'Unable to check inventory. Please try again.': {
8353
8566
  value: 'Det gick inte att kontrollera lagret. Försök igen.',
8354
8567
  },
8568
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
8569
+ value: 'Det går inte att slutföra betalningen i [currency]. Försök igen eller välj en annan valuta. Om problemet kvarstår, kontakta vårt supportteam för hjälp.',
8570
+ },
8355
8571
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
8356
8572
  value: 'Kan inte hämta betalningssessionen just nu. Försök igen eller kontakta vårt supportteam.',
8357
8573
  },
@@ -8469,6 +8685,9 @@ const stringsTurkish = {
8469
8685
  'Billing address': {
8470
8686
  value: 'Fatura Adresi',
8471
8687
  },
8688
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
8689
+ value: 'USD ile ödeme yaparak, kartınız doğrudan para birimi dönüştürmesi olmadan ücretlendirilir. Ancak, USD bazlı olmayan bir kart kullanmak, banka düzeyinde ek para birimi dönüştürme ücretlerine neden olabilir.',
8690
+ },
8472
8691
  'CPF/CNPJ number': {
8473
8692
  value: 'CPF/CNPJ numarası',
8474
8693
  },
@@ -8487,6 +8706,9 @@ const stringsTurkish = {
8487
8706
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
8488
8707
  value: "Kart numarasını kopyalamak için tıklayın. Herhangi bir gelecekteki son kullanma tarihini ve üç haneli CVC'yi kullanın.",
8489
8708
  },
8709
+ 'Click to pay in USD': {
8710
+ value: 'USD ile ödemek için tıklayın',
8711
+ },
8490
8712
  Close: {
8491
8713
  value: 'Kapat',
8492
8714
  },
@@ -8643,6 +8865,9 @@ const stringsTurkish = {
8643
8865
  'Pay [organizationName]': {
8644
8866
  value: "[organizationName]'e ödeme yapın",
8645
8867
  },
8868
+ 'Pay in USD (United States Dollar)?': {
8869
+ value: 'USD (Amerikan Doları) ile ödeme yap?',
8870
+ },
8646
8871
  Payment: {
8647
8872
  value: 'Ödeme',
8648
8873
  },
@@ -8820,6 +9045,9 @@ const stringsTurkish = {
8820
9045
  'Unable to check inventory. Please try again.': {
8821
9046
  value: 'Envanter kontrol edilemedi. Lütfen tekrar deneyin.',
8822
9047
  },
9048
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
9049
+ value: '[currency] ile ödeme tamamlanamıyor. Lütfen tekrar deneyin veya farklı bir para birimi seçin. Sorun devam ederse, yardım için destek ekibimizle iletişime geçin.',
9050
+ },
8823
9051
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
8824
9052
  value: 'Şu anda ödeme oturumunu alamıyoruz. Lütfen tekrar deneyin veya destek ekibimizle iletişime geçin.',
8825
9053
  },
@@ -8937,6 +9165,9 @@ const stringsVietnamese = {
8937
9165
  'Billing address': {
8938
9166
  value: 'Địa chỉ thanh toán',
8939
9167
  },
9168
+ 'By paying in USD, your card will be charged directly with no currency conversion. However, using a non-USD based card may result in additional currency conversion fees at the bank level.': {
9169
+ value: 'Bằng cách thanh toán bằng USD, thẻ của bạn sẽ bị tính phí trực tiếp mà không cần chuyển đổi tiền tệ. Tuy nhiên, sử dụng thẻ không dựa trên USD có thể dẫn đến phí chuyển đổi tiền tệ bổ sung ở cấp ngân hàng.',
9170
+ },
8940
9171
  'CPF/CNPJ number': {
8941
9172
  value: 'Số CPF/CNPJ',
8942
9173
  },
@@ -8955,6 +9186,9 @@ const stringsVietnamese = {
8955
9186
  'Click to copy the card number. Use any future expiration date and three number CVC.': {
8956
9187
  value: 'Nhấp để sao chép số thẻ. Sử dụng bất kỳ ngày hết hạn nào trong tương lai và CVC ba chữ số.',
8957
9188
  },
9189
+ 'Click to pay in USD': {
9190
+ value: 'Nhấp để thanh toán bằng USD',
9191
+ },
8958
9192
  Close: {
8959
9193
  value: 'Đóng',
8960
9194
  },
@@ -9111,6 +9345,9 @@ const stringsVietnamese = {
9111
9345
  'Pay [organizationName]': {
9112
9346
  value: 'Thanh toán [organizationName]',
9113
9347
  },
9348
+ 'Pay in USD (United States Dollar)?': {
9349
+ value: 'Thanh toán bằng USD (Đô la Mỹ)?',
9350
+ },
9114
9351
  Payment: {
9115
9352
  value: 'Thanh toán',
9116
9353
  },
@@ -9288,6 +9525,9 @@ const stringsVietnamese = {
9288
9525
  'Unable to check inventory. Please try again.': {
9289
9526
  value: 'Không thể kiểm tra hàng tồn kho. Vui lòng thử lại.',
9290
9527
  },
9528
+ 'Unable to complete payment in [currency]. Please try again or select a different currency. If the issue persists, contact our support team for assistance.': {
9529
+ value: 'Không thể hoàn tất thanh toán bằng [currency]. Vui lòng thử lại hoặc chọn một loại tiền tệ khác. Nếu vấn đề vẫn tiếp diễn, hãy liên hệ với đội ngũ hỗ trợ của chúng tôi để được trợ giúp.',
9530
+ },
9291
9531
  'Unable to retrieve the checkout session at the moment. Please try again or contact our support team.': {
9292
9532
  value: 'Không thể truy xuất phiên thanh toán vào lúc này. Vui lòng thử lại hoặc liên hệ với đội ngũ hỗ trợ của chúng tôi.',
9293
9533
  },
@@ -10639,6 +10879,7 @@ const defaultVariable = ({ borderStyle, theme, }) => {
10639
10879
  };
10640
10880
 
10641
10881
  const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = zonosStore.createStore(() => ({
10882
+ checkoutSettlementCurrency: 'USD',
10642
10883
  clientSecret: sessionStorage.getItem('zonos--client-secret') || '',
10643
10884
  customErrorMessage: null,
10644
10885
  fetchingLandedCostAbortController: null,
@@ -10646,6 +10887,7 @@ const { onChange: onChange$1, reset: reset$1, state: stripeStore, } = zonosStore
10646
10887
  isFetchingLandedCost: false,
10647
10888
  isFetchingSession: false,
10648
10889
  shouldInventoryRefund: false,
10890
+ shouldRenderPayInUsdButton: false,
10649
10891
  /**
10650
10892
  * Default to skip payment intent, only create payment intent when "skipPaymentIntent" in url's query params is set "0"
10651
10893
  * @default true
@@ -11273,6 +11515,35 @@ const stripeStoreInitCheckoutSession = async () => {
11273
11515
  handleFetch.log('done-init-checkout-session');
11274
11516
  return true;
11275
11517
  };
11518
+ const stripeStoreUpdateCheckoutSessionBaseCurrency = async () => {
11519
+ const checkoutSessionId = cartStore.checkoutSessionId;
11520
+ // Checkout session id should be available at this point
11521
+ if (!checkoutSessionId) {
11522
+ handleFetch.logError('Failed to update checkout session base currency');
11523
+ return false;
11524
+ }
11525
+ // Only update checkout session currency if setting is enabled
11526
+ if (zonosStore.zonosStore.checkoutSettings.allowedSettlementCurrencies === 'LOCAL') {
11527
+ handleFetch.log('allowedSettlementCurrencies: "LOCAL". Skip updating checkout session base currency');
11528
+ return true;
11529
+ }
11530
+ const { json } = await handleFetch.handleFetch('/api/zonos-elements/update-checkout-session-base-currency', {
11531
+ body: {
11532
+ checkoutSessionId,
11533
+ currencyCode: stripeStore.checkoutSettlementCurrency,
11534
+ },
11535
+ method: 'POST',
11536
+ });
11537
+ const settlementCurrencyCode = json === null || json === void 0 ? void 0 : json.checkoutSessionBaseCurrencyUpdate.subtotals.presentmentCurrencyCode;
11538
+ // S
11539
+ if (!json ||
11540
+ settlementCurrencyCode !== stripeStore.checkoutSettlementCurrency) {
11541
+ handleFetch.logError('Failed to update checkout session base currency');
11542
+ return false;
11543
+ }
11544
+ handleFetch.log(`Updated checkout session to settlement currency "${settlementCurrencyCode}".`);
11545
+ return true;
11546
+ };
11276
11547
  /**
11277
11548
  * Update checkout session. Use for updating amount with landed cost id, or update session when cart items change
11278
11549
  */
@@ -11677,7 +11948,7 @@ const cartStoreReCalculateTotal = async ({ adjustmentsAmount, cartId, currency,
11677
11948
  return true;
11678
11949
  };
11679
11950
  const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, landedCostId) => {
11680
- var _a, _b, _c, _d, _e, _f;
11951
+ var _a, _b, _c, _d, _e, _f, _g, _h;
11681
11952
  cartStore.selectedShippingOption = selectedShippingOption;
11682
11953
  // update shipping transit info
11683
11954
  const transitData = cartStoreGetShippingTransitInfo(cartStore.selectedShippingOption);
@@ -11719,6 +11990,14 @@ const cartStoreUpdateSelectedShippingOption = async (selectedShippingOption, lan
11719
11990
  dutiesTaxesFeesEstimate: dutiesTaxesFeesEstimate,
11720
11991
  landedCostId: (_f = selectedLandedCost.landedCost) === null || _f === void 0 ? void 0 : _f.id,
11721
11992
  });
11993
+ // update conditionally render pay in USD button
11994
+ const firstItem = (_g = cartStore.items.find(Boolean)) === null || _g === void 0 ? void 0 : _g.currencyCode;
11995
+ // Only show pay in USD button if item's currency is in USD, the setting is enabled and the order presentment currency is not USD
11996
+ stripeStore.shouldRenderPayInUsdButton =
11997
+ firstItem === 'USD' &&
11998
+ zonosStore.zonosStore.checkoutSettings.allowedSettlementCurrencies ===
11999
+ 'LOCAL_AND_USD' &&
12000
+ ((_h = cartStore.checkoutSession) === null || _h === void 0 ? void 0 : _h.subtotals.presentmentCurrencyCode) !== 'USD';
11722
12001
  return updateCalculateStatus;
11723
12002
  };
11724
12003
  onChange('checkoutSessionId', () => {
@@ -11878,6 +12157,7 @@ exports.stripeStoreResetPromoCode = stripeStoreResetPromoCode;
11878
12157
  exports.stripeStoreRetrievePayment = stripeStoreRetrievePayment;
11879
12158
  exports.stripeStoreSaveDomesticShippingSession = stripeStoreSaveDomesticShippingSession;
11880
12159
  exports.stripeStoreTranslateAddressToLatin = stripeStoreTranslateAddressToLatin;
12160
+ exports.stripeStoreUpdateCheckoutSessionBaseCurrency = stripeStoreUpdateCheckoutSessionBaseCurrency;
11881
12161
  exports.trackConversionEvent = trackConversionEvent;
11882
12162
  exports.translate = translate;
11883
12163
  exports.validateCheckoutSession = validateCheckoutSession;